
//网站管理员设置
export const adminSetting =
  {
    darkMode: false,
    showAiSetting: true,
    showWebSiteConfigSetting: true,
    showPeopleSetting: true,
  };

//客服设置
export const serviceSetting = 
  {
    darkMode: false,
    showAiSetting: true,
    showWebSiteConfigSetting: false,
    showPeopleSetting: false,
  };
//普通用户设置
export const customerSetting = 
  {
    darkMode: false,
    showAiSetting: false,
    showWebSiteConfigSetting: false,
    showPeopleSetting: false,
  };

export const adminUser = {
  id: 1,
  username: 'adminUser',
  type: 'system',
  website_id: 1,
}

export const serviceUser = {
  "1": {
    id: 1,
    website_id: 1,
    username: 'service1',
    account: 'vincy@163.com',
    head_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80',
    ai_open: 1,
  }, "2": {
    id: 2,
    website_id: 1,
    username: 'service2',
    account: 'leilei@163.com',
    head_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80',
    ai_open: 1,
  }
}

export const customerUser = {
  "1": {
    id: 1,
    customer_session: 'cussession',
    website_id: 1,
    current_service_id: 2,
    username: 'user 1',
    head_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80',
  }, "2": {
    id: 2,
    customer_session: 'cussession2',
    website_id: 1,
    current_service_id: 2,
    username: 'user 2',
    head_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80',
  }
}

export const conversations = [
  {
    id: 1,
    website_id: 1,
    customer_id: 1,
    service_id: 1,
    message: '用户1发送给客服1',
    message_round: 'c2s',
    create_time: '2024-03-12 09:00',
    sender: {
      id: 1,
      name: '用户1',
      head_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80'
    }
  },
  {
    id: 2,
    website_id: 1,
    customer_id: 1,
    service_id: 1,
    message: '客服1发送给用户1',
    message_round: 's2c',
    create_time: '2024-03-12 09:05',
    sender: {
      id: 2,
      name: '客服2',
      head_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80'
    }
  },
  {
    id: 3,
    website_id: 1,
    customer_id: 1,
    service_id: 2,
    message: '客服2发送给用户1',
    message_round: 's2c',
    create_time: '2024-03-12 09:15',
    sender: {
      id: 2,
      name: '客服2',
      head_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80'
    }
  },
  {
    id: 4,
    website_id: 1,
    customer_id: 2,
    service_id: 2,
    message: '客服2发送给用户2的',
    message_round: 's2c',
    create_time: '2024-03-12 09:15',
    sender: {
      id: 2,
      name: '客服2',
      head_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80'
    }
  },
  {
    id: 5,
    website_id: 1,
    customer_id: 2,
    service_id: 2,
    message: '用户2发送给客服2',
    message_round: 'c2s',
    create_time: '2024-03-12 09:00',
    sender: {
      id: 2,
      name: '用户2',
      head_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80'
    }
  },
  {
    id: 6,
    website_id: 1,
    customer_id: 2,
    service_id: 2,
    message: '用户2发送给客服2',
    message_round: 'c2s',
    create_time: '2024-03-12 09:00',
    sender: {
      id: 2,
      name: '用户',
      head_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80'
    }
  },
  {
    id: 7,
    website_id: 1,
    customer_id: 2,
    service_id: 2,
    message: '用户2发送给客服2',
    message_round: 'c2s',
    create_time: '2024-03-12 09:00',
    sender: {
      id: 2,
      name: '用户2',
      head_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80'
    }
  },
]

export const website = {
  id: 1,
  name: '网站名',
  address_url: 'https://aivo.com',
  icon_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80'
}

export const conversationRelation = [
  {
    id: 1,
    customer_id: 1,
    customer_status: 'on',
    service_id: 1,
    service_status: 'on',
    score: 1,
    customer: {
      id: 1,
      customer_session: 'cussession',
      website_id: 1,
      current_service_id: 1,
      namename: 'user 3',
      head_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80',
    },
    service: {
      id: 1,
      website_id: 1,
      username: 'Vincy',
      account: 'vincy@163.com',
      head_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80',
      ai_open: 1,
    }
  },
  {
    id: 2,
    customer_id: 2,
    customer_status: 'on',
    service_id: 2,
    service_status: 'on',
    score: 1,
    customer: {
      id: 2,
      customer_session: 'cussession',
      website_id: 1,
      current_service_id: 2,
      namename: 'user 2',
      head_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80',
    },
    service: {
      id: 2,
      website_id: 1,
      username: 'Vincddy2',
      account: 'vinddcy@163.com',
      head_url: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80',
      ai_open: 1,
    }
  }
]

export default {
  website,

  adminUser,
  serviceUser,
  customerUser,

  conversations,
  conversationRelation,

  adminSetting,
  serviceSetting,
  customerSetting,
};
